/*
 * Project:     My Project Work, Copyright (C) 2011
 * Created at:  05.08.2011
 */
package de.myprojectwork.model.dto;

import de.myprojectwork.model.Table;

/**
 * Tabelle <code>LINK</code>
 * 
 * @author Chris Holdschuh
 */
public class Link extends AbstractDto {
    
    private int         fkProject;
    private int         fkParent;
    private int         fkChild;
    private String      tableName;
    
    private Project     project;
    private Table       table;

    public Link() {
    }

    public int getFkProject() {
        return fkProject;
    }

    public void setFkProject(int fkProject) {
        this.fkProject = fkProject;
    }

    public String getTableName() {
        return tableName;
    }

    public void setTableName(String tableName) {
        this.tableName = tableName;
    }

    public int getFkChild() {
        return fkChild;
    }

    public void setFkChild(int idChild) {
        this.fkChild = idChild;
    }

    public int getFkParent() {
        return fkParent;
    }

    public void setFkParent(int idParent) {
        this.fkParent = idParent;
    }

    public Project getProject() {
        return project;
    }

    public void setProject(Project project) {
        this.project = project;
    }

    public Table getTable() {
        return table;
    }

    public void setTable(Table table) {
        this.table = table;
    }
}
